/**
 * output package name
 */
package com.kingdee.eas.jky.enums;

import java.util.Map;
import java.util.List;
import java.util.Iterator;
import com.kingdee.util.enums.StringEnum;

/**
 * output class name
 */
public class ClosedEnum extends StringEnum
{
    public static final String NCLOSED_VALUE = "1";
    public static final String CLOSED_VALUE = "2";

    public static final ClosedEnum nclosed = new ClosedEnum("nclosed", NCLOSED_VALUE);
    public static final ClosedEnum closed = new ClosedEnum("closed", CLOSED_VALUE);

    /**
     * construct function
     * @param String closedEnum
     */
    private ClosedEnum(String name, String closedEnum)
    {
        super(name, closedEnum);
    }
    
    /**
     * getEnum function
     * @param String arguments
     */
    public static ClosedEnum getEnum(String closedEnum)
    {
        return (ClosedEnum)getEnum(ClosedEnum.class, closedEnum);
    }

    /**
     * getEnumMap function
     */
    public static Map getEnumMap()
    {
        return getEnumMap(ClosedEnum.class);
    }

    /**
     * getEnumList function
     */
    public static List getEnumList()
    {
         return getEnumList(ClosedEnum.class);
    }
    
    /**
     * getIterator function
     */
    public static Iterator iterator()
    {
         return iterator(ClosedEnum.class);
    }
}